#pragma  once

#include <jni.h>
#include <string>

class JavaLister {
public:
    JavaLister(JavaVM *javaVM,JNIEnv *jniEnv);
    void sendMessage(std::string message);
private:
    JavaVM  *mVM;
    JNIEnv  *mEnv;
    jclass mJClass;
    jmethodID mJmethod;
    jobject mJobject;
};


